#include "lib.h"

#include <unistd.h>
#include "stdio.h"
#include "iostream"
#include <fstream>

class CFF
{
public:
    std::string name;
    int type;
    CFF(std::string n, int t)
    {
        name = n;
        type = t;
    }
};

#define array_elem(p, n) n,
#define class_elem(p, n) CFF(#n, n),

FL_DEF_ENUM(FL_TEST0, 0, 1, 2, 4)

int cc = 5;
int dd = 6;
// std::string dd;

void test_foreach()
{

    FL_TEST0 t;
    t = FL_TEST0_1;
    FL_DEF_ARRAY(int, ClassName0, array_elem, a, 1, 2, 3);
    FL_DEF_ARRAY(CFF, ClassName1, class_elem, a, 1, 2, 3, cc, dd);
    return;
}